package cn.tedu.abstractx.work;
//运动员类
public abstract class Player extends Person{
    //构造方法
    public Player(){}
    public Player(String name, int age, double height, double weight) {
        super(name, age, height, weight);
    }
    //重写eat方法
    @Override
    public void eat() {
        System.out.println("吃运动员餐~~");
    }
    //抽象的play方法  alt+enter
    public abstract void play();
}
